#!/usr/bin/env etbsh

# We first put all of our files
h1 = put_file(component1.h)
src1 = put_file(component1.c)
h2 = put_file(component2.h)
src2 = put_file(component2.c)
srcMain = put_file(main.c)

# Build everything, wait, then get the exe back
q = query(main("Linux_x86_64", $src1, $h1, $src2, $h2, $srcMain, "main_Linux_x86_64", Exe))
r = query_wait($q)
get_file(${r}.Exe, "main_Linux_x86_64")
